<template>
    <div class="flex_col_start m5 p10 card" v-if="globalStatus.drop != null">
        <label class="flex_center_self">切膜落杯控制板状态</label>
        <div class="flex_row_center mt5">
            <label>版本:</label>
            <label>{{ globalStatus.drop.version }}</label>
            <label class="ml5">电流检测ADC:</label>
            <label>{{ globalStatus.drop.analog }}</label>
        </div>
        <div class="flex_row_center mt5">
            <LabelState name="落杯器微动开关1" :value="globalStatus.drop.drop_sw1"/>
            <LabelState class="ml5" name="落杯器微动开关2" :value="globalStatus.drop.drop_sw2"/>
            <LabelState class="ml5" name="落杯器微动开关3" :value="globalStatus.drop.drop_sw3"/>
            <LabelState class="ml5" name="封膜机微动开关" :value="globalStatus.drop.film_sw"/>
            <LabelState class="ml5" name="封膜机落杯检测" :value="globalStatus.drop.film_checked"/>
        </div>
        <div class="flex_row_center mt5">
            <LabelState name="切膜上" :value="globalStatus.drop.cut_top"/>
            <LabelState class="ml5" name="切膜下" :value="globalStatus.drop.cut_bottom"/>
            <LabelState class="ml5" name="切膜对射" :value="globalStatus.drop.cut_checked"/>
            <LabelState class="ml5" name="落杯器1对射" :value="globalStatus.drop.drop_checked1"/>
            <LabelState class="ml5" name="落杯器2对射" :value="globalStatus.drop.drop_checked2"/>
            <LabelState class="ml5" name="落杯器3对射" :value="globalStatus.drop.drop_checked3"/>
        </div>
        <div class="flex_row_center mt5">
            <LabelState name="漏水检测" :value="globalStatus.drop.leak"/>
            <LabelState class="ml5" name="废水检测" :value="globalStatus.drop.waste_checked"/>
        </div>
    </div>
</template>


<script lang="ts" setup>
import { globalStatus } from '@/service/info';
import LabelState from '../base/LabelState.vue';




</script>
